package org.grow.enter;


import org.grow.enter.service.Bound;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.util.Random;

@EnableSwagger2
@SpringBootApplication
public class EnterApplication {

    public static void main(String[] args) {

       SpringApplication.run(EnterApplication.class, args);
//        Bound bound = context.getBean(Bound.class);
//        bound.enhance();

    }

    @Bean
    public Random random(){
        Random random = new Random();
        random.setSeed(1000);
        return random;
    }


}
